clear; close all; addpath('../utilities');

load model_simulation
load model_simulation_pop

data_cs = [.1430 .0572 .0093 .0736 .0136]';
data_ts = [.0607 .0735 .0068 .0889 .0190]';
data_po = [.1438 .0693 .0097 .1072 .0200]';

row_labels = {'Leverage','Excess returns','5-year CDS rate','ATM IV','IV skew'};

table_6 = [data_cs, sqrt(cs_var), data_ts, sqrt(ts_var), data_po, table_5(6:10)];

col_labels = {'Data','Model','Data','Model','Data','Model'};
Opts.Style = 'jf'; Opts.digit='r'; format = '%.2f';
disp(Mat2TexC(table_6*100,format,row_labels,col_labels,[],Opts,'Time-series versus Cross-sectional Dispersion of Firm-level Variables'))

